/**
 * @Author: 陈瑞鹏
 * @Date:   2022-10-17 15:59:41
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2022-10-17 15:59:44
 */
import mongoose from 'mongoose';

const Schema = mongoose.Schema;
const IntoServerSchema: mongoose.Schema = new Schema({
    openId: { type: String, desc: '用户ID', index: true },
    serverId: { type: Number, desc: '区服Id', index: true },
    serverName: { type: String, desc: '区服名称' },
    intoTime: { type: String, desc: '进入时间' }
}, { versionKey: false });

const IntoServer = mongoose.model('IntoServer', IntoServerSchema);
export default IntoServer;